package com.example.novelweb.service;

import com.example.novelweb.common.BaseResponse;
import com.example.novelweb.model.dto.wordrule.WordRuleAddRequest;
import com.example.novelweb.model.dto.wordrule.WordRuleDelRequest;
import com.example.novelweb.model.entity.Wordrule;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author PERSON
* @description 针对表【wordrule(违禁词规则)】的数据库操作Service
* @createDate 2025-02-14 19:17:24
*/
public interface WordruleService extends IService<Wordrule> {

  BaseResponse<Boolean> addWords(WordRuleAddRequest wordRuleAddRequest);

  BaseResponse<Boolean> delWords(WordRuleDelRequest wordRuleDelRequest);

  BaseResponse<List<Wordrule>> listAll();
}
